package team.epos.merchant.service;

import team.epos.utils.pojo.Advert;
import team.epos.utils.pojo.Apply;
import team.epos.utils.pojo.Store;

import javax.servlet.http.HttpServletRequest;

/**
 * Create by Vic Xu on 7/14/2018
 *
 * @author Vic Xu
 */
public interface StoreService {
    /**
     * 申请开店
     *
     * @param store
     */
    public int openStore(Store store, HttpServletRequest req);


    /**
     * 推荐
     *
     * @param
     */
    public Store recommend(String sId);

    public void subRecommend(Advert advert, HttpServletRequest req);

    public String getState(int sId);

    public Store rejectApply(int sId);

}
